﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace AgriculturalMachinery.Models
{
    public class InnerSiteInfoRepository
    {
        AgriMachineDataContext amdc = new AgriMachineDataContext();
        public IQueryable<InnerSiteInfo> GetInnerSiteInfoByID(int id)
        {
            return from isi in amdc.InnerSiteInfo
                   where isi.ToUserID == id
                   select isi;
        }
    }
}
